<div class="home-nav-down">
    <table width="100%">
        <tr>
            <td>
                <a href="{:U('index')}">
                        <span class="<if condition='$index neq null'>footer1<else/>footer01</if>">
                        </span>
                    <br>首页
                </a>
            </td>
            <td>
                <a href="{:U('cate')}">
                    <span class="<if condition='$cate neq null'>footer4<else/>footer04</if>"></span><br>
                    商品分类</a>
            </td>
            <td>
                <if condition="session('user_id') eq null">
                    <a href="{:U('login')}">
                        <span class="<if condition='$car neq null'>footer2<else/>footer02</if>"></span><br>
                        购物车
                    </a>
                 <else/>
                    <a href="{:U('cart')}">
                        <span class="<if condition='$car neq null'>footer2<else/>footer02</if>"></span><span class="item3-cartnum">{$cart_num}</span><br>
                        购物车
                    </a>
                </if>
            </td>
            <td>
                <if condition="session('user_type') eq 2">
                    <a href="{:U('qiang')}">
                        <span class="<if condition='$qiang neq null'>footer3<else/>footer03</if>"></span><br>
                        电工抢单
                    </a>
                <elseif condition="session('user_type') eq 1"/>
                    <a href="{:U('electrician')}" id="dian">
                        <span class="<if condition='$qiang neq null'>footer3<else/>footer03</if>"></span><br>
                        电工抢单
                    </a>
                <elseif condition="session('user_type') eq null"/>
                    <a href="{:U('login')}">
                        <span class="<if condition='$qiang neq null'>footer3<else/>footer03</if>"></span><br>
                        电工抢单
                    </a>
                    <elseif condition="session('user_type') eq 3"/>
                    <a href="javascript:;">
                        <span class="<if condition='$qiang neq null'>footer3<else/>footer03</if>"></span><br>
                        电工抢单
                    </a>
                </if>
            </td>

            <td>
                <a href="{:U('my')}">
                    <span class="<if condition='$my neq null'>footer5<else/>footer05</if>"></span><br>
                    个人中心
                </a>
            </td>
        </tr>
    </table>
</div>